package com.cetc.System;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**   
* @Title: UrlRouteController.java
* @Description: 路由地址控制类 
* @author zzc   
* @date 2016年9月22日 上午11:24:15   
*/
@Controller
public class UrlRouteController {
	/************** 系统模块***************/
	/*** 主页跳转 ***/
	@RequestMapping("index")
	public String index() {
		return "index";
	}

	@RequestMapping(value = "login", method = RequestMethod.GET)
	public String login() {
		return "login"; }

	@RequestMapping(value = "home", method = RequestMethod.GET)
	public String home() {
		return "home";
	}


	@RequestMapping(value = "compOverview", method = RequestMethod.GET, produces = "text/html; charset=utf-8")
	public String CompOverview(HttpServletRequest request) {
		return "/analysis/compOverview";
	}
}
